class CreateThumbnails < ActiveRecord::Migration
  def self.up
    create_table :thumbs do |t|
      t.integer :user_id, :limit => 20, :null => false            
      t.string :html
      t.string :url
      t.string :provider_name
      t.string :kind
      t.string :thumbnail_url
      t.string :title      
      t.timestamps
    end
  end

  def self.down
    drop_table :thumbs
  end
end
